Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


CopyQDRegion

Mac OS

The CopyQDRegion method returns an approximation of this shape in the form of a new, modifiable QuickDraw region.

ODRgnHandle CopyQDRegion ();
return value
A region handle that describes this shape's geometric representation.
DISCUSSION
The returned QuickDraw region is not owned by this shape; you are allowed to modify it. When you no longer need the QuickDraw region, you are responsible for disposing of its storage.

The returned region is often only an approximation of this shape because coordinates are rounded to integers and diagonal lines become stair steps. (This shape itself is not affected.) However, QuickDraw regions are optimized for onscreen display and are required by many QuickDraw and Window Manager routines.

SEE ALSO
The ODRgnHandle type (page 884).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help